package com.itheima.d13_extends_visit;

public class Zi extends Fu {
    private String name = "哈哈~";

    public void test() {
        String name = "呵呵";
        System.out.println(name);
        System.out.println(this.name);
        System.out.println(super.name);
    }

    @Override
    public void test2() {
        System.out.println("子类方法重写");
    }

    public void test3(){
        test2();
        super.test2();
    }
}
